package com.neusoft.html.parser.tree; class Parser { void a() { int a;
a=0;// .class public Lcom/neusoft/html/parser/tree/Parser;
a=0;// .super Ljava/lang/Object;
a=0;// .source "Parser.java"
a=0;// 
a=0;// 
a=0;// # static fields
a=0;// .field private static final DEFAULT_MAX_ERRORS:I
a=0;// 
a=0;// 
a=0;// # instance fields
a=0;// .field private errors:Lcom/neusoft/html/parser/tree/ParseErrorList;
a=0;// 
a=0;// .field private maxErrors:I
a=0;// 
a=0;// .field private treeBuilder:Lcom/neusoft/html/parser/tree/TreeBuilder;
a=0;// 
a=0;// 
a=0;// # direct methods
a=0;// .method public constructor <init>(Lcom/neusoft/html/parser/tree/TreeBuilder;)V
a=0;//     .locals 1
a=0;// 
a=0;//     .prologue
a=0;//     .line 24
a=0;//     invoke-direct {p0}, Ljava/lang/Object;-><init>()V
a=0;// 
a=0;//     .line 17
a=0;//     #p0=(Reference,Lcom/neusoft/html/parser/tree/Parser;);
a=0;//     const/4 v0, 0x0
a=0;// 
a=0;//     #v0=(Null);
a=0;//     iput v0, p0, Lcom/neusoft/html/parser/tree/Parser;->maxErrors:I
a=0;// 
a=0;//     .line 25
a=0;//     iput-object p1, p0, Lcom/neusoft/html/parser/tree/Parser;->treeBuilder:Lcom/neusoft/html/parser/tree/TreeBuilder;
a=0;// 
a=0;//     .line 26
a=0;//     return-void
a=0;// .end method
a=0;// 
a=0;// .method public static htmlParser()Lcom/neusoft/html/parser/tree/Parser;
a=0;//     .locals 2
a=0;// 
a=0;//     .prologue
a=0;//     .line 157
a=0;//     new-instance v0, Lcom/neusoft/html/parser/tree/Parser;
a=0;// 
a=0;//     #v0=(UninitRef,Lcom/neusoft/html/parser/tree/Parser;);
a=0;//     new-instance v1, Lcom/neusoft/html/parser/tree/HtmlTreeBuilder;
a=0;// 
a=0;//     #v1=(UninitRef,Lcom/neusoft/html/parser/tree/HtmlTreeBuilder;);
a=0;//     invoke-direct {v1}, Lcom/neusoft/html/parser/tree/HtmlTreeBuilder;-><init>()V
a=0;// 
a=0;//     #v1=(Reference,Lcom/neusoft/html/parser/tree/HtmlTreeBuilder;);
a=0;//     invoke-direct {v0, v1}, Lcom/neusoft/html/parser/tree/Parser;-><init>(Lcom/neusoft/html/parser/tree/TreeBuilder;)V
a=0;// 
a=0;//     #v0=(Reference,Lcom/neusoft/html/parser/tree/Parser;);
a=0;//     return-object v0
a=0;// .end method
a=0;// 
a=0;// .method public static parse(Ljava/lang/String;Ljava/lang/String;)Lcom/neusoft/html/parser/nodes/Document;
a=0;//     .locals 2
a=0;// 
a=0;//     .prologue
a=0;//     .line 89
a=0;//     new-instance v0, Lcom/neusoft/html/parser/tree/HtmlTreeBuilder;
a=0;// 
a=0;//     #v0=(UninitRef,Lcom/neusoft/html/parser/tree/HtmlTreeBuilder;);
a=0;//     invoke-direct {v0}, Lcom/neusoft/html/parser/tree/HtmlTreeBuilder;-><init>()V
a=0;// 
a=0;//     .line 90
a=0;//     #v0=(Reference,Lcom/neusoft/html/parser/tree/HtmlTreeBuilder;);
a=0;//     invoke-static {}, Lcom/neusoft/html/parser/tree/ParseErrorList;->noTracking()Lcom/neusoft/html/parser/tree/ParseErrorList;
a=0;// 
a=0;//     move-result-object v1
a=0;// 
a=0;//     #v1=(Reference,Lcom/neusoft/html/parser/tree/ParseErrorList;);
a=0;//     invoke-virtual {v0, p0, p1, v1}, Lcom/neusoft/html/parser/tree/TreeBuilder;->parse(Ljava/lang/String;Ljava/lang/String;Lcom/neusoft/html/parser/tree/ParseErrorList;)Lcom/neusoft/html/parser/nodes/Document;
a=0;// 
a=0;//     move-result-object v0
a=0;// 
a=0;//     return-object v0
a=0;// .end method
a=0;// 
a=0;// .method public static parseBodyFragment(Ljava/lang/String;Ljava/lang/String;)Lcom/neusoft/html/parser/nodes/Document;
a=0;//     .locals 6
a=0;// 
a=0;//     .prologue
a=0;//     .line 117
a=0;//     invoke-static {p1}, Lcom/neusoft/html/parser/nodes/Document;->createShell(Ljava/lang/String;)Lcom/neusoft/html/parser/nodes/Document;
a=0;// 
a=0;//     move-result-object v2
a=0;// 
a=0;//     .line 118
a=0;//     #v2=(Reference,Lcom/neusoft/html/parser/nodes/Document;);
a=0;//     invoke-virtual {v2}, Lcom/neusoft/html/parser/nodes/Document;->body()Lcom/neusoft/html/parser/nodes/Element;
a=0;// 
a=0;//     move-result-object v3
a=0;// 
a=0;//     .line 119
a=0;//     #v3=(Reference,Lcom/neusoft/html/parser/nodes/Element;);
a=0;//     invoke-static {p0, v3, p1}, Lcom/neusoft/html/parser/tree/Parser;->parseFragment(Ljava/lang/String;Lcom/neusoft/html/parser/nodes/Element;Ljava/lang/String;)Ljava/util/List;
a=0;// 
a=0;//     move-result-object v0
a=0;// 
a=0;//     .line 120
a=0;//     #v0=(Reference,Ljava/util/List;);
a=0;//     invoke-interface {v0}, Ljava/util/List;->size()I
a=0;// 
a=0;//     move-result v1
a=0;// 
a=0;//     #v1=(Integer);
a=0;//     new-array v1, v1, [Lcom/neusoft/html/parser/nodes/Node;
a=0;// 
a=0;//     #v1=(Reference,[Lcom/neusoft/html/parser/nodes/Node;);
a=0;//     invoke-interface {v0, v1}, Ljava/util/List;->toArray([Ljava/lang/Object;)[Ljava/lang/Object;
a=0;// 
a=0;//     move-result-object v0
a=0;// 
a=0;//     check-cast v0, [Lcom/neusoft/html/parser/nodes/Node;
a=0;// 
a=0;//     .line 121
a=0;//     array-length v4, v0
a=0;// 
a=0;//     #v4=(Integer);
a=0;//     const/4 v1, 0x0
a=0;// 
a=0;//     :goto_0
a=0;//     #v1=(Integer);v5=(Conflicted);
a=0;//     if-lt v1, v4, :cond_0
a=0;// 
a=0;//     .line 124
a=0;//     return-object v2
a=0;// 
a=0;//     .line 121
a=0;//     :cond_0
a=0;//     aget-object v5, v0, v1
a=0;// 
a=0;//     .line 122
a=0;//     #v5=(Null);
a=0;//     invoke-virtual {v3, v5}, Lcom/neusoft/html/parser/nodes/Element;->appendChild(Lcom/neusoft/html/parser/nodes/Node;)Lcom/neusoft/html/parser/nodes/Element;
a=0;// 
a=0;//     .line 121
a=0;//     add-int/lit8 v1, v1, 0x1
a=0;// 
a=0;//     goto :goto_0
a=0;// .end method
a=0;// 
a=0;// .method public static parseBodyFragmentRelaxed(Ljava/lang/String;Ljava/lang/String;)Lcom/neusoft/html/parser/nodes/Document;
a=0;//     .locals 1
a=0;// 
a=0;//     .prologue
a=0;//     .line 146
a=0;//     invoke-static {p0, p1}, Lcom/neusoft/html/parser/tree/Parser;->parse(Ljava/lang/String;Ljava/lang/String;)Lcom/neusoft/html/parser/nodes/Document;
a=0;// 
a=0;//     move-result-object v0
a=0;// 
a=0;//     #v0=(Reference,Lcom/neusoft/html/parser/nodes/Document;);
a=0;//     return-object v0
a=0;// .end method
a=0;// 
a=0;// .method public static parseFragment(Ljava/lang/String;Lcom/neusoft/html/parser/nodes/Element;Ljava/lang/String;)Ljava/util/List;
a=0;//     .locals 2
a=0;// 
a=0;//     .prologue
a=0;//     .line 104
a=0;//     new-instance v0, Lcom/neusoft/html/parser/tree/HtmlTreeBuilder;
a=0;// 
a=0;//     #v0=(UninitRef,Lcom/neusoft/html/parser/tree/HtmlTreeBuilder;);
a=0;//     invoke-direct {v0}, Lcom/neusoft/html/parser/tree/HtmlTreeBuilder;-><init>()V
a=0;// 
a=0;//     .line 105
a=0;//     #v0=(Reference,Lcom/neusoft/html/parser/tree/HtmlTreeBuilder;);
a=0;//     invoke-static {}, Lcom/neusoft/html/parser/tree/ParseErrorList;->noTracking()Lcom/neusoft/html/parser/tree/ParseErrorList;
a=0;// 
a=0;//     move-result-object v1
a=0;// 
a=0;//     #v1=(Reference,Lcom/neusoft/html/parser/tree/ParseErrorList;);
a=0;//     invoke-virtual {v0, p0, p1, p2, v1}, Lcom/neusoft/html/parser/tree/HtmlTreeBuilder;->parseFragment(Ljava/lang/String;Lcom/neusoft/html/parser/nodes/Element;Ljava/lang/String;Lcom/neusoft/html/parser/tree/ParseErrorList;)Ljava/util/List;
a=0;// 
a=0;//     move-result-object v0
a=0;// 
a=0;//     return-object v0
a=0;// .end method
a=0;// 
a=0;// .method public static unescapeEntities(Ljava/lang/String;Z)Ljava/lang/String;
a=0;//     .locals 3
a=0;// 
a=0;//     .prologue
a=0;//     .line 134
a=0;//     new-instance v0, Lcom/neusoft/html/parser/tree/Tokeniser;
a=0;// 
a=0;//     #v0=(UninitRef,Lcom/neusoft/html/parser/tree/Tokeniser;);
a=0;//     new-instance v1, Lcom/neusoft/html/parser/tree/CharacterReader;
a=0;// 
a=0;//     #v1=(UninitRef,Lcom/neusoft/html/parser/tree/CharacterReader;);
a=0;//     invoke-direct {v1, p0}, Lcom/neusoft/html/parser/tree/CharacterReader;-><init>(Ljava/lang/String;)V
a=0;// 
a=0;//     #v1=(Reference,Lcom/neusoft/html/parser/tree/CharacterReader;);
a=0;//     invoke-static {}, Lcom/neusoft/html/parser/tree/ParseErrorList;->noTracking()Lcom/neusoft/html/parser/tree/ParseErrorList;
a=0;// 
a=0;//     move-result-object v2
a=0;// 
a=0;//     #v2=(Reference,Lcom/neusoft/html/parser/tree/ParseErrorList;);
a=0;//     invoke-direct {v0, v1, v2}, Lcom/neusoft/html/parser/tree/Tokeniser;-><init>(Lcom/neusoft/html/parser/tree/CharacterReader;Lcom/neusoft/html/parser/tree/ParseErrorList;)V
a=0;// 
a=0;//     .line 135
a=0;//     #v0=(Reference,Lcom/neusoft/html/parser/tree/Tokeniser;);
a=0;//     invoke-virtual {v0, p1}, Lcom/neusoft/html/parser/tree/Tokeniser;->unescapeEntities(Z)Ljava/lang/String;
a=0;// 
a=0;//     move-result-object v0
a=0;// 
a=0;//     return-object v0
a=0;// .end method
a=0;// 
a=0;// .method public static xmlParser()Lcom/neusoft/html/parser/tree/Parser;
a=0;//     .locals 2
a=0;// 
a=0;//     .prologue
a=0;//     .line 166
a=0;//     new-instance v0, Lcom/neusoft/html/parser/tree/Parser;
a=0;// 
a=0;//     #v0=(UninitRef,Lcom/neusoft/html/parser/tree/Parser;);
a=0;//     new-instance v1, Lcom/neusoft/html/parser/tree/XmlTreeBuilder;
a=0;// 
a=0;//     #v1=(UninitRef,Lcom/neusoft/html/parser/tree/XmlTreeBuilder;);
a=0;//     invoke-direct {v1}, Lcom/neusoft/html/parser/tree/XmlTreeBuilder;-><init>()V
a=0;// 
a=0;//     #v1=(Reference,Lcom/neusoft/html/parser/tree/XmlTreeBuilder;);
a=0;//     invoke-direct {v0, v1}, Lcom/neusoft/html/parser/tree/Parser;-><init>(Lcom/neusoft/html/parser/tree/TreeBuilder;)V
a=0;// 
a=0;//     #v0=(Reference,Lcom/neusoft/html/parser/tree/Parser;);
a=0;//     return-object v0
a=0;// .end method
a=0;// 
a=0;// 
a=0;// # virtual methods
a=0;// .method public clear()V
a=0;//     .locals 2
a=0;// 
a=0;//     .prologue
a=0;//     const/4 v1, 0x0
a=0;// 
a=0;//     .line 170
a=0;//     #v1=(Null);
a=0;//     iget-object v0, p0, Lcom/neusoft/html/parser/tree/Parser;->treeBuilder:Lcom/neusoft/html/parser/tree/TreeBuilder;
a=0;// 
a=0;//     #v0=(Reference,Lcom/neusoft/html/parser/tree/TreeBuilder;);
a=0;//     if-eqz v0, :cond_0
a=0;// 
a=0;//     .line 172
a=0;//     iget-object v0, p0, Lcom/neusoft/html/parser/tree/Parser;->treeBuilder:Lcom/neusoft/html/parser/tree/TreeBuilder;
a=0;// 
a=0;//     invoke-virtual {v0}, Lcom/neusoft/html/parser/tree/TreeBuilder;->clear()V
a=0;// 
a=0;//     .line 173
a=0;//     iput-object v1, p0, Lcom/neusoft/html/parser/tree/Parser;->treeBuilder:Lcom/neusoft/html/parser/tree/TreeBuilder;
a=0;// 
a=0;//     .line 175
a=0;//     :cond_0
a=0;//     iput-object v1, p0, Lcom/neusoft/html/parser/tree/Parser;->errors:Lcom/neusoft/html/parser/tree/ParseErrorList;
a=0;// 
a=0;//     .line 176
a=0;//     return-void
a=0;// .end method
a=0;// 
a=0;// .method public getErrors()Ljava/util/List;
a=0;//     .locals 1
a=0;// 
a=0;//     .prologue
a=0;//     .line 76
a=0;//     iget-object v0, p0, Lcom/neusoft/html/parser/tree/Parser;->errors:Lcom/neusoft/html/parser/tree/ParseErrorList;
a=0;// 
a=0;//     #v0=(Reference,Lcom/neusoft/html/parser/tree/ParseErrorList;);
a=0;//     return-object v0
a=0;// .end method
a=0;// 
a=0;// .method public getTreeBuilder()Lcom/neusoft/html/parser/tree/TreeBuilder;
a=0;//     .locals 1
a=0;// 
a=0;//     .prologue
a=0;//     .line 40
a=0;//     iget-object v0, p0, Lcom/neusoft/html/parser/tree/Parser;->treeBuilder:Lcom/neusoft/html/parser/tree/TreeBuilder;
a=0;// 
a=0;//     #v0=(Reference,Lcom/neusoft/html/parser/tree/TreeBuilder;);
a=0;//     return-object v0
a=0;// .end method
a=0;// 
a=0;// .method public isTrackErrors()Z
a=0;//     .locals 1
a=0;// 
a=0;//     .prologue
a=0;//     .line 58
a=0;//     iget v0, p0, Lcom/neusoft/html/parser/tree/Parser;->maxErrors:I
a=0;// 
a=0;//     #v0=(Integer);
a=0;//     if-lez v0, :cond_0
a=0;// 
a=0;//     const/4 v0, 0x1
a=0;// 
a=0;//     :goto_0
a=0;//     #v0=(Boolean);
a=0;//     return v0
a=0;// 
a=0;//     :cond_0
a=0;//     #v0=(Integer);
a=0;//     const/4 v0, 0x0
a=0;// 
a=0;//     #v0=(Null);
a=0;//     goto :goto_0
a=0;// .end method
a=0;// 
a=0;// .method public parseInput(Ljava/lang/String;Ljava/lang/String;)Lcom/neusoft/html/parser/nodes/Document;
a=0;//     .locals 2
a=0;// 
a=0;//     .prologue
a=0;//     .line 29
a=0;//     invoke-virtual {p0}, Lcom/neusoft/html/parser/tree/Parser;->isTrackErrors()Z
a=0;// 
a=0;//     move-result v0
a=0;// 
a=0;//     #v0=(Boolean);
a=0;//     if-eqz v0, :cond_0
a=0;// 
a=0;//     iget v0, p0, Lcom/neusoft/html/parser/tree/Parser;->maxErrors:I
a=0;// 
a=0;//     #v0=(Integer);
a=0;//     invoke-static {v0}, Lcom/neusoft/html/parser/tree/ParseErrorList;->tracking(I)Lcom/neusoft/html/parser/tree/ParseErrorList;
a=0;// 
a=0;//     move-result-object v0
a=0;// 
a=0;//     :goto_0
a=0;//     #v0=(Reference,Lcom/neusoft/html/parser/tree/ParseErrorList;);
a=0;//     iput-object v0, p0, Lcom/neusoft/html/parser/tree/Parser;->errors:Lcom/neusoft/html/parser/tree/ParseErrorList;
a=0;// 
a=0;//     .line 30
a=0;//     iget-object v0, p0, Lcom/neusoft/html/parser/tree/Parser;->treeBuilder:Lcom/neusoft/html/parser/tree/TreeBuilder;
a=0;// 
a=0;//     iget-object v1, p0, Lcom/neusoft/html/parser/tree/Parser;->errors:Lcom/neusoft/html/parser/tree/ParseErrorList;
a=0;// 
a=0;//     #v1=(Reference,Lcom/neusoft/html/parser/tree/ParseErrorList;);
a=0;//     invoke-virtual {v0, p1, p2, v1}, Lcom/neusoft/html/parser/tree/TreeBuilder;->parse(Ljava/lang/String;Ljava/lang/String;Lcom/neusoft/html/parser/tree/ParseErrorList;)Lcom/neusoft/html/parser/nodes/Document;
a=0;// 
a=0;//     move-result-object v0
a=0;// 
a=0;//     .line 31
a=0;//     return-object v0
a=0;// 
a=0;//     .line 29
a=0;//     :cond_0
a=0;//     #v0=(Boolean);v1=(Uninit);
a=0;//     invoke-static {}, Lcom/neusoft/html/parser/tree/ParseErrorList;->noTracking()Lcom/neusoft/html/parser/tree/ParseErrorList;
a=0;// 
a=0;//     move-result-object v0
a=0;// 
a=0;//     #v0=(Reference,Lcom/neusoft/html/parser/tree/ParseErrorList;);
a=0;//     goto :goto_0
a=0;// .end method
a=0;// 
a=0;// .method public setTrackErrors(I)Lcom/neusoft/html/parser/tree/Parser;
a=0;//     .locals 0
a=0;// 
a=0;//     .prologue
a=0;//     .line 67
a=0;//     iput p1, p0, Lcom/neusoft/html/parser/tree/Parser;->maxErrors:I
a=0;// 
a=0;//     .line 68
a=0;//     return-object p0
a=0;// .end method
a=0;// 
a=0;// .method public setTreeBuilder(Lcom/neusoft/html/parser/tree/TreeBuilder;)Lcom/neusoft/html/parser/tree/Parser;
a=0;//     .locals 0
a=0;// 
a=0;//     .prologue
a=0;//     .line 49
a=0;//     iput-object p1, p0, Lcom/neusoft/html/parser/tree/Parser;->treeBuilder:Lcom/neusoft/html/parser/tree/TreeBuilder;
a=0;// 
a=0;//     .line 50
a=0;//     return-object p0
a=0;// .end method
}}
